<template>
	<view class="container">
		<!-- <rich-text class="rich" :nodes="ment"></rich-text> -->
		<view class="tit">
			计费规则
		</view>
		
		<view class="rule" v-for="(item,index) in mentInfo.cacl_rule">
			{{index}}.{{item}}
		</view>
		
		<view class="tit yajin">
			押金规则
		</view>
		
		<view class="rule">
			{{mentInfo.yajin_rule}}
		</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				// ment: [],
				// yajin_rule:''
				mentInfo:{}
			}
		},
		onLoad(params) {
			// let config = uni.getStorageSync('config')
			// console.log(config.cacl_rule)
			// this.ment = Object.values(config.cacl_rule)
			// this.yajin_rule = config.yajin_rule
			// console.log(this.ment)
			if(params.mentInfo){
				this.mentInfo = JSON.parse(params.mentInfo);
			}
		},
		methods: {
			
			
			
			

		}
	}
</script>

<style scoped lang="scss">
	.container{
		width: 100%;
		height: calc(100% - 30upx);
		padding-top: 30upx;
		background-color: #f6f6f6;
		
		.tit{
			width: 90%;
			margin: 0 auto;
			color: #333333;
			font-weight: bold;
			margin-bottom: 20upx;
		}
		
		.rule{
			width: 90%;
			margin: 0 auto;
			color: #333333;
			margin-bottom: 10upx;
		}
		
		.yajin{
			margin-top: 30upx;
		}
	}
</style>
